package cn.jingdalei.user.constant;

public class UserContants {

    /* 发送验证码的常量 */
    public static final String BUSINESS_REGISTER_PREFIX = "business_register_prefix";

    // 绑定用户验证码常量
    public static final String BUSINESS_BINDER_PREFIX = "business_binder_prefix";


    //======================微信登录相关的信息============================
    // 动态设置 APPID 和 SECRET
    public static final String APPID = "wxd853562a0548a7d0";
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
    // https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code
    public static final String WXUSER_GET_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

    // 绑定微信用户生产wxuser表
    public static final String WXUSER_GET_USER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";




    /* 登录常量 */
    public static final String BUSINESS_LOGIN_PREFIX = "business_login_prefix";
}
